/*
 * @Author:     
 * @Date: 2024-03-06 21:40:15
 * @LastEditors:     
 * @LastEditTime: 2024-03-18 11:16:55
 * @FilePath: /crazy_hen/public/base/utils/common.js
 * @Description: 
 * 
 * Copyright (c) 2024 by     , All Rights Reserved. 
 */

function my_dialog(msg) {
    return new Promise((resolve, reject) => {
        const res = vant.Dialog.alert({
            title: '提示',
            message: msg,
        })
        resolve(res)
    })
}
function XM_D(msg,style="left") {
    return new Promise((resolve, reject) => {
        const res = vant.Dialog.alert({
            title: '提示',
            message: msg,
            messageAlign:style
        })
        resolve(res)
    })
}